#ifndef EBOUNDINGRECT_H
#define EBOUNDINGRECT_H

#include "eboundingshape.h"

class EBoundingRect : public EBoundingShape
{
public:
    EBoundingRect(float width, float height, QPointF center = QPointF());

    bool intersects(const EBoundingShape& other) const;
private:
    float m_fWidth;
    float m_fHeight;
    QPointF m_center;
};

#endif // EBOUNDINGRECT_H
